package com.g0dkar.leet.exception;

/**
 * Exceção que indica algum problema na configuração do JHeat.
 * @author g0dkar
 *
 */
public class MissingMemberException extends LeetRuntimeException {
	
	private static final long serialVersionUID = 1L;

	/**
	 * Build a message with given class and memberName, like<br>
	 * <tt>"The required java.util.HashMap id doesn't exist."</tt>
	 * @param c - the type being scanned
	 * @param memberName - the missing member name
	 */
	public MissingMemberException(Class<?> c, String memberName) {
		super("The required " + c.getName() + " " + memberName + " doesn't exist.");
	}
	
}
